package com.hvtt.web.models;

import java.io.Serializable;

public class Sys_nguoidung implements Serializable {

    private String ma = "";
    private String matKhau = "";
    private String nhomID = "";
    private int trangThai = 0;
    private int loai = 0;
    private String ho = "";
    private String ten = "";
    private String gioiTinh = "";
    private String diaChi = "";
    private String dienThoai = "";
    private String dienThoaiNha = "";
    private String email = "";
    private String quocGiaID = "";
    private String tinhID = "";
    private String ngonNguID = "";
    private int ngay_NgaySinh = 0;
    private int thang_NgaySinh = 0;
    private int nam_NgaySinh = 0;
    private String tienTeID = "";
    private String soTK = "";
    private String chuTK = "";
    private String tenNH = "";
    private String iP = "";
    private String activeCode = "";
    private java.sql.Date date_Active = new java.sql.Date(0);
    private String capChaCode = "";
    private java.sql.Date ngayDangKy = new java.sql.Date(0);
    private String openIdType = "";
    private String loaiXeBan = "";

    public Sys_nguoidung() {
    }

    public Sys_nguoidung(String ma, String matKhau, String nhomID, int trangThai, int loai, String ho, String ten, String gioiTinh, String diaChi, String dienThoai, String dienThoaiNha, String email, String quocGiaID, String ngonNguID, int ngay_NgaySinh, int thang_NgaySinh, int nam_NgaySinh, String tienTeID, String soTK, String chuTK, String tenNH, String iP, String activeCode, java.sql.Date date_Active, String capChaCode, java.sql.Date ngayDangKy, String openIdType) {
        this.ma = ma;
        this.matKhau = matKhau;
        this.nhomID = nhomID;
        this.trangThai = trangThai;
        this.loai = loai;
        this.ho = ho;
        this.ten = ten;
        this.gioiTinh = gioiTinh;
        this.diaChi = diaChi;
        this.dienThoai = dienThoai;
        this.dienThoaiNha = dienThoaiNha;
        this.email = email;
        this.quocGiaID = quocGiaID;
        this.ngonNguID = ngonNguID;
        this.ngay_NgaySinh = ngay_NgaySinh;
        this.thang_NgaySinh = thang_NgaySinh;
        this.nam_NgaySinh = nam_NgaySinh;
        this.tienTeID = tienTeID;
        this.soTK = soTK;
        this.chuTK = chuTK;
        this.tenNH = tenNH;
        this.iP = iP;
        this.activeCode = activeCode;
        this.date_Active = date_Active;
        this.capChaCode = capChaCode;
        this.ngayDangKy = ngayDangKy;
        this.openIdType = openIdType;
    }

    public String getMa() {
        return ma;
    }

    public void setMa(String ma) {
        this.ma = ma;
    }

    public String getMatKhau() {
        return matKhau;
    }

    public void setMatKhau(String matKhau) {
        this.matKhau = matKhau;
    }

    public String getNhomID() {
        return nhomID;
    }

    public void setNhomID(String nhomID) {
        this.nhomID = nhomID;
    }

    public int getTrangThai() {
        return trangThai;
    }

    public void setTrangThai(int trangThai) {
        this.trangThai = trangThai;
    }

    public int getLoai() {
        return loai;
    }

    public void setLoai(int loai) {
        this.loai = loai;
    }

    public String getHo() {
        return ho;
    }

    public void setHo(String ho) {
        this.ho = ho;
    }

    public String getTen() {
        return ten;
    }

    public void setTen(String ten) {
        this.ten = ten;
    }

    public String getGioiTinh() {
        return ("".equals(gioiTinh.trim()) ? "M" : gioiTinh);
    }

    public void setGioiTinh(String gioiTinh) {
        this.gioiTinh = gioiTinh;
    }

    public String getDiaChi() {
        return diaChi;
    }

    public void setDiaChi(String diaChi) {
        this.diaChi = diaChi;
    }

    public String getDienThoai() {
        return dienThoai;
    }

    public void setDienThoai(String dienThoai) {
        this.dienThoai = dienThoai;
    }

    public String getDienThoaiNha() {
        return dienThoaiNha;
    }

    public void setDienThoaiNha(String dienThoaiNha) {
        this.dienThoaiNha = dienThoaiNha;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQuocGiaID() {
        return quocGiaID;
    }

    public void setQuocGiaID(String quocGiaID) {
        this.quocGiaID = quocGiaID;
    }

    public String getNgonNguID() {
        return ngonNguID;
    }

    public void setNgonNguID(String ngonNguID) {
        this.ngonNguID = ngonNguID;
    }

    public int getNgay_NgaySinh() {
        return ngay_NgaySinh;
    }

    public void setNgay_NgaySinh(int ngay_NgaySinh) {
        this.ngay_NgaySinh = ngay_NgaySinh;
    }

    public int getThang_NgaySinh() {
        return thang_NgaySinh;
    }

    public void setThang_NgaySinh(int thang_NgaySinh) {
        this.thang_NgaySinh = thang_NgaySinh;
    }

    public int getNam_NgaySinh() {
        return nam_NgaySinh;
    }

    public void setNam_NgaySinh(int nam_NgaySinh) {
        this.nam_NgaySinh = nam_NgaySinh;
    }

    public String getTienTeID() {
        return tienTeID;
    }

    public void setTienTeID(String tienTeID) {
        this.tienTeID = tienTeID;
    }

    public String getSoTK() {
        return soTK;
    }

    public void setSoTK(String soTK) {
        this.soTK = soTK;
    }

    public String getChuTK() {
        return chuTK;
    }

    public void setChuTK(String chuTK) {
        this.chuTK = chuTK;
    }

    public String getTenNH() {
        return tenNH;
    }

    public void setTenNH(String tenNH) {
        this.tenNH = tenNH;
    }

    public String getIP() {
        return iP;
    }

    public void setIP(String iP) {
        this.iP = iP;
    }

    public String getActiveCode() {
        return activeCode;
    }

    public void setActiveCode(String activeCode) {
        this.activeCode = activeCode;
    }

    public java.sql.Date getDate_Active() {
        return date_Active;
    }

    public void setDate_Active(java.sql.Date date_Active) {
        this.date_Active = date_Active;
    }

    public String getCapChaCode() {
        return capChaCode;
    }

    public void setCapChaCode(String capChaCode) {
        this.capChaCode = capChaCode;
    }

    public java.sql.Date getNgayDangKy() {
        return ngayDangKy;
    }

    public void setNgayDangKy(java.sql.Date ngayDangKy) {
        this.ngayDangKy = ngayDangKy;
    }

    public String getOpenIdType() {
        return openIdType;
    }

    public void setOpenIdType(String openIdType) {
        this.openIdType = openIdType;
    }

    public void resetAttribute() {
        ma = "";
        matKhau = "";
        nhomID = "";
        trangThai = 0;
        loai = 0;
        ho = "";
        ten = "";
        gioiTinh = "";
        diaChi = "";
        dienThoai = "";
        dienThoaiNha = "";
        email = "";
        quocGiaID = "";
        ngonNguID = "";
        ngay_NgaySinh = 0;
        thang_NgaySinh = 0;
        nam_NgaySinh = 0;
        tienTeID = "";
        soTK = "";
        chuTK = "";
        tenNH = "";
        iP = "";
        activeCode = "";
        date_Active = new java.sql.Date(0);
        capChaCode = "";
        ngayDangKy = new java.sql.Date(0);
        openIdType = "";
    }

    /**
     * @return the loaiXeBan
     */
    public String getLoaiXeBan() {
        return loaiXeBan;
    }

    /**
     * @param loaiXeBan the loaiXeBan to set
     */
    public void setLoaiXeBan(String loaiXeBan) {
        this.loaiXeBan = loaiXeBan;
    }

    /**
     * @return the tinhID
     */
    public String getTinhID() {
        return tinhID;
    }

    /**
     * @param tinhID the tinhID to set
     */
    public void setTinhID(String tinhID) {
        this.tinhID = tinhID;
    }
}